package demo5;

import demo3.clothes;
import org.springframework.stereotype.Component;

@Component("winter")
public class sweater implements clothes
{
    public void wear()
    {
        System.out.println("穿一件毛衣");
    }
}
